﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace KurupiraApp.Models
{
    public interface RepositorioGenerico
    {        
        void add<T>(T entity) where T : class;
        List<T> selectAll<T>() where T : class;
        T find<T>(int id) where T : class;
        void remove<T>(int id) where T : class;
        void update<T>(T entity) where T : class;
    }
}